from urllib import request

from django.template.library import Library

register = Library()




@register.filter
def user_artile(value):
    return value.filter(value.author==request.username)
